<script>
export default {
    name:'RouteView',
    data(){
        return{

        }
    },
    render(){
        const keepAlive=this.$root.meta.keepAlive;
        const inKeep=(
            <keep-alive>
                <router-view></router-view>
            </keep-alive>
        );
        const notKeep=(
             <router-view></router-view>
        );
        return keepAlive?inKeep:notKeep;
    }
}
</script>
